//
// Created by guanyicheng on 2022/4/6.
//

#include "../../common.h"

class Solution {
public:
    void reverseString(vector<char>& s) {
        int left = 0, right = s.size() - 1;
        while (left < right) {
            char c = s[left];
            s[left] = s[right];
            s[right] = c;
            ++left;
            --right;
        }
    }
};